package com.ktjy.crm.service.impl;

import com.ktjy.crm.entity.Role;
import com.ktjy.crm.mapper.RoleMapper;
import com.ktjy.crm.service.IRoleService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class IRoleServiceImpl implements IRoleService {
    @Resource
    private RoleMapper roleMapper;
    @Override
    public List<Role> findAllRoles() {
        return roleMapper.selectList(null);
    }
}
